
public class Tablettes extends Portables {
	
	boolean ggg;
	
	public Tablettes(int nS, boolean c, boolean e, boolean w, boolean g)
	{
		super(nS, c, e, w);
		
		this.ggg = g;
	}
	
	public void saisie()
	{
		if(isConnected())
		{
			super.saisie();
		}
		else
		{
			System.out.println("Tactile");
		}
	}
	
	public static void connection(Ordinateurs o)
	{
		System.out.println("Liste des connexions");
		
		System.out.println("eth");
		
		if( o instanceof Portables)
		{
			System.out.println("Wifi");
		}
		
		if( o instanceof Tablettes)
		{
			System.out.println("3g");
		}
	}

}
